package messages;
import sharedspace.*;

/**
 * This message purpose is to give the user's credentials to the server to check if he can login
 * @author Avishai
 *
 */
public class MessageLogin extends Message {
/**
	 * 
	 */
	private User userLog = null;
	private static final long serialVersionUID = 1L;
/**
 * 
 * @param user
 * @param pass
 */
	public MessageLogin(User user) {
		super(Message.MessageType.MESSAGE_LOGIN);
		userLog = user;
		}
	
	public User getUser(){
		return userLog;
	}
	
	

	
	
	
	
	

	

}
